package com.chen.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.blog.common.api.CommonResult;
import com.chen.blog.model.Collect;

import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author chen
 * @since 2022-01-24
 */
public interface CollectService extends IService<Collect> {

    /**
     * 检索指定用户的收藏列表功能
     *
     * @param id
     * @param currentPage
     * @param pageSize
     * @param map
     * @return
     */
    CommonResult getCollect(Integer id, Integer currentPage, Integer pageSize, Map<String, Object> map);
}
